//
//  Product.swift
//  对象模模式好处
//
//  Created by 崔博 on 2017/7/18.
//  Copyright © 2017年 崔博. All rights reserved.
//

import UIKit

class Product: NSObject {
    var name:String = ""
    var des:String = ""
    var price:Double?
    var stock:Int = 0
    
    init(name:String, des:String, price:Double, stock:Int) {
        self.name = name
        self.price = price
        self.des = des
        self.stock = stock
    }
}
